#!/bin/sh

CLASSPATH=.:./bin
export CLASSPATH

JLIBDIR=./lib
export JLIBDIR

for LL in `find $JLIBDIR  -name '*.jar'`
do
CLASSPATH=$CLASSPATH:$LL
export CLASSPATH
done

JAVA_OPTION="-Dfile.encoding=GBK"

SERVER_CLASS=server.JettyServer

echo Java_Option: $JAVA_OPTION
java ${JAVA_OPTION} -classpath ${CLASSPATH} ${SERVER_CLASS} &
